#ifndef LISTITEM_H
#define LISTITEM_H

#include <QListWidgetItem>
#include <QListWidget>
#include "includes/phrase.h"

class ListItem : public QListWidgetItem
{
private:
    Phrase phrase;

public:
    ListItem(Phrase& p, QListWidget* parent);
    Phrase getPhrase();
    void setPhrase(Phrase& p);
};

#endif // LISTITEM_H
